package com.example.hospital_208.po;

import java.util.Date;

public class PatientDoctor {
    private Integer id;             // 主键ID
    private String patient_id;      // 患者ID
    private String name;            // 患者姓名
    private String doc_id;          // 医生ID
    private String telephone;       // 联系电话
    private String day;             // 预约日期
    private String depart_id2;      // 科室ID
    private Date create_time;       // 创建时间
    private String status;          // 就诊状态

    // Getter和Setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(String patient_id) {
        this.patient_id = patient_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDoc_id() {
        return doc_id;
    }

    public void setDoc_id(String doc_id) {
        this.doc_id = doc_id;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getDepart_id2() {
        return depart_id2;
    }

    public void setDepart_id2(String depart_id2) {
        this.depart_id2 = depart_id2;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "PatientDoctor{" +
                "id=" + id +
                ", patient_id='" + patient_id + '\'' +
                ", name='" + name + '\'' +
                ", doc_id='" + doc_id + '\'' +
                ", telephone='" + telephone + '\'' +
                ", day='" + day + '\'' +
                ", depart_id2='" + depart_id2 + '\'' +
                ", create_time=" + create_time +
                ", status='" + status + '\'' +
                '}';
    }
}